﻿<%@ Page Language="C#" Inherits="System.Web.Mvc.ViewPage<dynamic>" %>

<%@ Import Namespace="LangMauViet.Classes.Helper" %>
<%@ Import Namespace="LangMauViet.Models.Entity" %>
<!DOCTYPE html>
<html>
<head runat="server">
    <title></title>
</head>
<body>
    <% 
        var nlistHotWeb = (List<Video>)ViewData["nlistHotWeb"];
      
    %>
    <ul class="clearfix">
        <% if (!ReferenceEquals(nlistHotWeb, null))
           {
               int j = 2;
               for (int i = 0; i < nlistHotWeb.Count; i++)
               {
                   Video newse = nlistHotWeb.ElementAt(i);
        %>
    <% if (i == j)
       {
           j += 3;
    %>
    <li class="vitem vlarge last">
        <% }
       else
       { %>
        <li class="vitem vlarge">
            <% } %>
            <a title="<%= newse.Name %>" href="/Video/Chi-tiet/<%= newse.VideoId %>/<%= UIHelper.convertToUnSign(newse.Name) %>"
                class="vlink">
                <div class="vthumb">
                    <img alt="<%= newse.Name %>" src="http://vipmobi.net:7001/mobile/download?v=1&w=500&h=500&id=<%= newse.Icon %>">
                    <!--  <span class="vticker">02:21</span> -->
                    <span class="watch-later _watch_later " title="Đánh dấu chờ xem lại" data-cid="1726768">
                        <i class="icon-time"></i></span>
                </div>
                <h4 class="max-line-2">
                    <%= newse.Name %></h4>
            </a></li>
        <% }
           } %>
    </ul>
</body>
</html>
